const runtime._Gpreempted
13 uses
runtime (current package)
preempt.go#L148: case _Gpreempted:
preempt.go#L152: if !casGFromPreempted(gp, _Gpreempted, _Gwaiting) {
proc.go#L1171: if old != _Grunning || new != _Gscan|_Gpreempted {
proc.go#L1175: for !gp.atomicstatus.CompareAndSwap(_Grunning, _Gscan|_Gpreempted) {
proc.go#L1183: if old != _Gpreempted || new != _Gwaiting {
proc.go#L1187: return gp.atomicstatus.CompareAndSwap(_Gpreempted, _Gwaiting)
proc.go#L3824: casGToPreemptScan(gp, _Grunning, _Gscan|_Gpreempted)
proc.go#L3826: casfrom_Gscanstatus(gp, _Gscan|_Gpreempted, _Gpreempted)
proc.go#L5444: _Gpreempted:
runtime2.go#L87: _Gpreempted // 9
runtime2.go#L105: _Gscanpreempted = _Gscan + _Gpreempted // 0x1009
traceback.go#L1182: _Gpreempted: "preempted",
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |